package com.ce.pms.system.occupation.model;

// Generated 2008-12-24 13:41:51 by Hibernate Tools 3.2.0.b9

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体名称: 整改项目类型设置 关联数据表:OM_PERFECT_ITEM_TYPE_CONFIG
 *
 * @author yandawei
 * @CreateDate:2008-12-24
 */
@Entity
@Table(name = "OM_PERFECT_ITEM_TYPE_CONFIG")
public class PerfectItemTypeConfigDO implements IDomainObject {

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue
	@Column(name = "PERFECT_ITEM_TYPE_ID", unique = true, nullable = false)
	private Long keyword;

	/**
	 * 整改项目类型
	 */
	@Column(name = "PERFECT_ITEM_TYPE_NAME", nullable = false, length = 50)
	private String perfectItemTypeName;

	/**
	 * 整改类型描述说明
	 */
	@Column(name = "DESCRIPTION", length = 100)
	private String description;

	/**
	 * 序号
	 */
	@Column(name = "SEQUENCE")
	private Short sequence;

	/**
	 * 系统信息
	 *
	 */
	@Embedded
	@AttributeOverride(name="sysDate",column=@Column(name="SYS_DATE"))
	private SysInfo sysInfo;

	public PerfectItemTypeConfigDO() {
	}

	public PerfectItemTypeConfigDO(Long keyword) {
		this.keyword = keyword;
	}

	public Long getKeyword() {
		return keyword;
	}

	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	public SysInfo getSysInfo() {
		return sysInfo;
	}

	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}

	public String getPerfectItemTypeName() {
		return this.perfectItemTypeName;
	}

	public void setPerfectItemTypeName(String perfectItemTypeName) {
		this.perfectItemTypeName = perfectItemTypeName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Short getSequence() {
		return this.sequence;
	}

	public void setSequence(Short sequence) {
		this.sequence = sequence;
	}

}
